package com.trt.enums;

import io.swagger.models.auth.In;

/**
 * @version 1.0
 * @author: trt
 * @description: 是否 枚举
 * @create: 2020-07-02 22:59
 */
public enum YesOrNo {
    NO(0, "否"),
    YES(1, "是");

    public final Integer type;
    public final String value;

    YesOrNo(Integer type, String value) {
        this.type = type;
        this.value = value;
    }

}